package com.tca.spring.framework.learning.aop.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author zhoua
 * @Date 2021/5/3
 *
 * @EnableAspectJAutoProxy 必须使用其开启aop动态代理
 * @ComponentScan 必须扫描目标类和切面类
 */
@Configuration
@EnableAspectJAutoProxy
@ComponentScan(value = "com.tca.spring.framework.learning.aop")
public class AopConfig {
}
